﻿namespace FlyingEye.Models
{
    /// <summary>
    /// 切刀信息
    /// </summary>
    public class CutterInformation
    {
        public CutterInformation(string code, float currentValue, float warningValue, float stopValue, int site, string factory, string area, string process, string deviceID, string position, string user, DateTime dateTime, string status, string reason, string sfc, string result, float floatData)
        {
            Code = code;
            CurrentValue = currentValue;
            WarningValue = warningValue;
            StopValue = stopValue;
            Site = site;
            Factory = factory;
            Area = area;
            Process = process;
            DeviceID = deviceID;
            Position = position;
            User = user;
            DateTime = dateTime;
            Status = status;
            Reason = reason;
            Sfc = sfc;
            Result = result;
            FloatData = floatData;
        }

        /// <summary>
        /// 刀模编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 累积记米值（米或次）
        /// </summary>
        public float CurrentValue { get; set; }

        /// <summary>
        /// 报警值
        /// </summary>
        public float WarningValue { get; set; }

        /// <summary>
        /// 停机值
        /// </summary>
        public float StopValue { get; set; }

        /// <summary>
        /// 基地
        /// </summary>
        public int Site { get; set; }

        /// <summary>
        /// 厂房
        /// </summary>
        public string Factory { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        public string Area { get; set; }

        /// <summary>
        /// 工序
        /// </summary>
        public string Process { get; set; }

        /// <summary>
        /// 设备ID
        /// </summary>
        public string DeviceID { get; set; }

        /// <summary>
        /// 刀模使用位置
        /// </summary>
        public string Position { get; set; }

        /// <summary>
        /// 更换刀模人员
        /// </summary>
        public string User { get; set; }

        /// <summary>
        /// 更换刀模时间
        /// </summary>
        public DateTime DateTime { get; set; }

        /// <summary>
        /// 刀模当前状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 换刀原因
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 更换时当前膜卷号
        /// </summary>
        public string Sfc { get; set; }

        /// <summary>
        /// 毛刺结果
        /// </summary>
        public string Result { get; set; }

        /// <summary>
        /// 圆跳动
        /// </summary>
        public float FloatData { get; set; }
    }
}
